<!-- 帮助详情 -->
<template>
  <div id="HelpDetail">
    <!-- 头部部分 -->
    <Head title="帮助"></Head>
    <div id="HelpDetailMain">
      <div class="HelpDetailName">{{Name}}</div>
      <div class="HelpDetailText">{{text}}</div>
    </div>
  </div>
</template>

<script>
import Head from "../components/Head"
export default {
    data(){
      return{
        Name:'',
        text:'',
      }
    },
    components:{
      Head,
    },
    mounted(){
      /**
      *  get  请求方式
      */
      let qadetailText = {
        qid:this.$route.query.id
      }
      this.$get(urlConfig.qadetail,qadetailText)
        .then(res => {
          if(res.total == 0 ){

          }else{
            this.Name = res.data.question
            this.text = res.data.answer
          }
      })
    },
    methods:{
      
    }
}
</script>

<style scoped lang="less">
  #HelpDetail{
    #HelpDetailMain{
      position: fixed;
      top: 88px;
    }
  }
</style>
